//
//  StoreVars.m
//  CMS
//
//  Created by Vuong Van Khanh on 11/5/12.
//  Copyright (c) 2012 Rikkei. All rights reserved.
//

#import "StoreVars.h"

@implementation StoreVars
@synthesize mySharedArray;
@synthesize username;
@synthesize downloadDir;
@synthesize contentId;
@synthesize sessionId;

static StoreVars *sharedInstance;
+ (StoreVars *) sharedInstance {
    if (sharedInstance == nil) {
        sharedInstance = [[StoreVars alloc] init];
    }
//        static dispatch_once_t onceToken;
//        dispatch_once(&onceToken, ^{
//            sharedInstance = [[self alloc] init];
//            // Do any other initialisation stuff here
//        });
        return sharedInstance;
}

+(void) logoutAction{
    //call to execute some action when logout
}

@end
